home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XmbDrawImageString.z / XmbDrawImageString
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmbbbbDDDDrrrraaaawwwwIIIImmmmaaaaggggeeeeSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXmmmmbbbbDDDDrrrraaaawwwwIIIImmmmaaaaggggeeeeSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XmbDrawImageString, XwcDrawImageString - draw image text
  10.           using a single font set
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           void XmbDrawImageString(_d_i_s_p_l_a_y, _d, _f_o_n_t__s_e_t, _g_c, _x, _y,
  14.           _s_t_r_i_n_g, _n_u_m__b_y_t_e_s)
  15.                 Display *_d_i_s_p_l_a_y;
  16.                 Drawable _d;
  17.                 XFontSet _f_o_n_t__s_e_t;
  18.                 GC _g_c;
  19.                 int _x, _y;
  20.                 char *_s_t_r_i_n_g;
  21.                 int _n_u_m__b_y_t_e_s;
  22.  
  23.           void XwcDrawImageString(_d_i_s_p_l_a_y, _d, _f_o_n_t__s_e_t, _g_c, _x, _y,
  24.           _s_t_r_i_n_g, _n_u_m__w_c_h_a_r_s)
  25.                 Display *_d_i_s_p_l_a_y;
  26.                 Drawable _d;
  27.                 XFontSet _f_o_n_t__s_e_t;
  28.                 GC _g_c;
  29.                 int _x, _y;
  30.                 wchar_t *_s_t_r_i_n_g;
  31.                 int _n_u_m__w_c_h_a_r_s;
  32.  
  33.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  34.           _d         Specifies the drawable.
  35.  
  36.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  37.  
  38.           _f_o_n_t__s_e_t  Specifies the font set.
  39.  
  40.           _g_c        Specifies the GC.
  41.  
  42.           _n_u_m__b_y_t_e_s Specifies the number of bytes in the string
  43.                     argument.
  44.  
  45.           _n_u_m__w_c_h_a_r_s
  46.                     Specifies the number of characters in the string
  47.                     argument.
  48.  
  49.           _s_t_r_i_n_g    Specifies the character string.
  50.  
  51.           _x
  52.           _y         Specify the x and y coordinates.
  53.  
  54.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  55.           The _X_m_b_D_r_a_w_I_m_a_g_e_S_t_r_i_n_g and _X_w_c_D_r_a_w_I_m_a_g_e_S_t_r_i_n_g functions fill
  56.           a destination rectangle with the background pixel defined in
  57.           the GC and then paint the text with the foreground pixel.
  58.           The filled rectangle is the rectangle returned to
  59.           overall_logical_return by _X_m_b_T_e_x_t_E_x_t_e_n_t_s or _X_w_c_T_e_x_t_E_x_t_e_n_t_s
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmbbbbDDDDrrrraaaawwwwIIIImmmmaaaaggggeeeeSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXmmmmbbbbDDDDrrrraaaawwwwIIIImmmmaaaaggggeeeeSSSSttttrrrriiiinnnngggg((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           for the same text and _X_F_o_n_t_S_e_t.
  75.  
  76.           When the _X_F_o_n_t_S_e_t has missing charsets, each unavailable
  77.           character is drawn with the default string returned by
  78.           _X_C_r_e_a_t_e_F_o_n_t_S_e_t.  The behavior for an invalid codepoint is
  79.           undefined.
  80.  
  81.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  82.           XDrawImageString(3X11), XDrawString(3X11), XDrawText(3X11),
  83.           XmbDrawString(3X11), XmbDrawText(3X11)
  84.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.